<html>
	<head>
		<title> While JSP </title>
	</head>
	
	<body>
		
		<%
			int cont ;
			
			String valor ;
			
			valor = request.getParameter("txtn1") ;
			
			cont = Integer.parseInt( valor ) ;
			
			while ( cont >= 0 ) {
			
				out.print ( cont ) ;
				out.print ("<br>") ;
				cont-- ;
				
			}		
		
		%>
	</body>
	
</html>